package hlhj.fhp.checkpoint.adp

import android.support.v4.app.Fragment
import android.support.v4.app.FragmentManager
import android.view.ViewGroup

/**
 * Created by Never Fear   on 2018\11\7 0007.
Never More....
 */
class HomePointPageAdp(private val fgmLists:ArrayList<Fragment>,mannager:FragmentManager) :FragmentPagerFlushAdapter(mannager) {
    override fun getItem(position: Int): Fragment {
        return fgmLists.get(position)
    }

    override fun getCount(): Int {
        return fgmLists.size
    }

    override fun destroyItem(container: ViewGroup, position: Int, `object`: Any) {
        super.destroyItem(container, position, `object`)
    }
}